﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DevCore.Web.UIPage
{
    /// <summary>
    /// 创建的Aspx页面辅助类
    /// </summary>
    public class WebPageHelper
    {
        /// <summary>
        /// 返回包含的Script函数
        /// </summary>
        /// <param name="filePath"></param>
        /// <returns></returns>
        public static String GetScript(String filePath)
        {
            return "<script src=\""+filePath+"\" type=\"text/javascript\"></script>";
        }

        /// <summary>
        /// 返回包含Css样式路径的字符串
        /// </summary>
        /// <param name="filePath"></param>
        /// <returns></returns>
        public static String GetCss(String filePath)
        {
            return "<link rel=\"Stylesheet\" type=\"text/css\" href=\""+filePath+"\" /> ";
        }





    }
}